/**
 * 
 */
package com.taobao.wolfwolf.hibernate.dao;

import java.util.List;

import com.taobao.wolfwolf.hibernate.pojo.Shopper;

public interface ShopperDao {
	
	public Shopper getLastShopper();
	public List<Shopper> findAll();
	/**
	 * 获取全部客户的数量
	 * @return
	 * 			数据总数
	 */
	public long getTotal() throws Exception;
	
	public String[][] listToArray(List<Shopper> shoppers, int row) throws Exception;
	
	public String[][] loadAll() throws Exception;
}	
